home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Feb 90 / MacApp.Tech$ 2⁄23⁄90 / 0751-Re Choosing without -Feb90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.0 KB  |  29 lines  |  [TEXT/GEOL]

  1. Item    0402338                         23-Feb-90        05:39PST
  2.  
  3. From:   A14                             Carnegie Mellon, Rob Chandok,PRA
  4.  
  5. To:     AUST0134                        Jam Software Sydney,IVR
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: Choosing without Chooser
  10.  
  11. The chooser sets the name of the RDEV file to use in the system File.  If you
  12. set 'STR ' ID (-8192) to "LaserWriter", then the current printer driver is the
  13. laserwriter.  That string seems to be always 32 bytes long, so pad it if you
  14. set it.
  15.  
  16. Note the following:
  17.  
  18. You must run chooser at some point, so the device driver itself has a chance to
  19. set up.  For example, the laserwriter driver stores which laserwriter you have
  20. chosen in it's own file.  But you said you were going to do this.
  21.  
  22. I know this 'cause I wrote a MacApp program that replaces Chooser, called
  23. "ChooseMe", to show how stupid Chooser's interface is.  So I know how to call
  24. the RDEV's directly also.  That code could be made available, it already is via
  25. anonymous ftp.
  26.  
  27. Rob
  28.  
  29.